<%@ page import="com.hexu.event.entity.Specie" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: 86151
  Date: 2021/5/3
  Time: 22:50
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文章分类</title>
</head>
<body>
<center>
  <form action="/hexu/specie/add">
    <table border="2">
      <tr>
        <td>分类</td>
        <td>操作</td>
      </tr>

      <%
        List<Specie> specieList =(List<Specie>)request.getAttribute("key");
        for(Specie specie:specieList){
      %>
      <tr>
        <td> <%=specie.getName()%> </td>
        <td>
          <a href="/hexu/article/find?specie=<%=specie.getName()%>">查看</a>
        </td>
      </tr>
      <%
        }
      %>
    </table>
  </form>

</center>
</body>
</html>
